<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2019/12/11
  Time: 9:05
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <center>
        <table border="1" rules="all">
            <tr align="center" bgcolor="#ffc0cb">
                <th>用户编号</th>
                <th>用户姓名</th>
                <th>年龄</th>
                <th>部门</th>
            </tr>
            <c:forEach items="${db.ubs}" var="u">
                <tr align="center">
                    <td>${u.id}</td>
                    <td>${u.uname}</td>
                    <td>${u.age}</td>
                    <td>${db.dname}</td>
                </tr>
            </c:forEach>
        </table>

    </center>
</body>
</html>
